Quiz

  • Which HTTP response header can reveal information about the web server's software and version, potentially exposing it to security risks if not removed?

    Show Answer

    ✅ Server


  • Which flag should be added to cookies in the Set-Cookie HTTP response header to ensure they are only transmitted over HTTPS, protecting them from being exposed during unencrypted transmissions?

    Show Answer

    ✅ Secure


  • Which flag should be added to cookies in the Set-Cookie HTTP response header to prevent them from being accessed via JavaScript, thereby enhancing security against XSS attacks?

    Show Answer

    ✅ HttpOnly